fix: bundle qwen_tts source files in PyInstaller build#305
Conversation
Replace --collect-submodules + --collect-data with --collect-all for qwen_tts. The qwen_tts runtime expects physical .py source files (e.g. modeling_qwen3_tts.py) under _MEIPASS, which only --collect-all provides. This is the same pattern used for inflect/typeguard. Fixes #212
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughBuild configuration change in Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
--collect-submodules+--collect-datawith--collect-allforqwen_ttsinbuild_binary.py, so physical.pysource files are bundled in the frozen binaryqwen_ttsruntime expectsmodeling_qwen3_tts.pyas a real file under_MEIPASS(likely viainspect.getsource()), which only--collect-allprovidesinflect(typeguard's@typechecked)Fixes #212
Supersedes #237 — thanks to @LucianoVandi for identifying the root cause
Summary by CodeRabbit